package com.wulis.seckill.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.wulis.seckill.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel(description = "账号信息")
public class AccountInfo extends BaseEntity {

    @ApiModelProperty("账号")
    @JsonSerialize(using = ToStringSerializer.class)
    private String account;

    @ApiModelProperty("密码")
    @JsonSerialize(using = ToStringSerializer.class)
    private String password;

}
